<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
<div class="l-card">
    <div class="l-card-title">患者信息</div>
    <div class="l-body">
        <div class="l-row">
            <div class="l-group">
                <label>患者姓名</label>
                <div class="l-group-attr">
                    <input type="text" value="{{$data->es->patient_name}}" disabled>
                </div>
            </div>
            <div class="l-group">
                <label>就诊卡号</label>
                <div class="l-group-attr">
                    <input type="text" value="{{$data->visit_id}}" disabled>
                </div>
            </div>
            <div class="l-group">
                <label>患者头像</label>
                <div class="l-group-attr img">
                    {{--                    <img src="{{$data->patient->reg_image}}">--}}
                </div>
            </div>
        </div>
        <div class="l-row">
            <div class="l-group">
                <label>证件类型</label>
                <div  style="margin-top: 10px;" class="l-group-attr">
                   @if($data['es']['type_id']==1)
                       <span style="margin-top: 50px">身份证号</span>
                    @elseif($data['es']['type_id']==2)
                       <span style="margin-top: 50px">港澳台</span>
                    @endif
                </div>
            </div>
            <div class="l-group">
                <label>证件号码</label>
                <div class="l-group-attr">
                    <input type="text" value="{{$data->es->id_card}}" disabled>
                </div>
            </div>
            <div class="l-group">
                <label>关系</label>
                <div style="margin-top: 10px" class="l-group-attr">
                    @if($data['es']['ship_id']==1)
                        <span style="margin-top: 50px">姐姐</span>
                    @elseif($data['es']['ship_id']==2)
                        <span style="margin-top: 50px">父亲</span>
                    @elseif($data['es']['ship_id']==3)
                        <span style="margin-top: 50px">母亲</span>
                    @elseif($data['es']['ship_id']==4)
                        <span style="margin-top: 50px">哥哥</span>
                    @endif
                </div>
            </div>
        </div>
        <div class="l-row">
            <div class="l-group">
                <label>微信昵称</label>
                <div class="l-group-attr">
                    {{--                    <input type="text" value="{{$data->patient->nickname}}" disabled>--}}
                </div>
            </div>
            <div class="l-group">
                <label>手机号码</label>
                <div class="l-group-attr">
                    <input type="text" value="{{$data->es->phone}}" disabled>
                </div>
            </div>
        </div>
        <div class="l-row">
            <div class="l-group">
                <label>就诊人地址</label>
                <div class="l-group-attr">
                    <input type="text" value="" disabled>
                </div>
            </div>
        </div>
    </div>
</div>


<div class="l-card">
    <div class="l-card-title">住院信息</div>
    <div class="l-body">
        <div class="l-row">
            <div class="l-group">
                <label>住院号</label>
                <div class="l-group-attr">
                    <input type="text" value="{{$data->des->inpatient_name}}" disabled>
                </div>
            </div>
            <div class="l-group">
                <label>住院状态</label>
                <div class="l-group-attr">
                    <input type="text" value="{{$data->status==1?'已住院':'已出院'}}" disabled>
                </div>
            </div>
            <div class="l-group">
                <label>入院时间</label>
                <div class="l-group-attr">
                    <input type="text" value="{{$data->created_at}}" disabled>
                </div>
            </div>

        </div>
        <div class="l-row">
            <div class="l-group">
                <label>出院时间</label>
                <div class="l-group-attr">
                    <input type="text" value="{{$data->created_at}}" disabled>
                </div>
            </div>
            <div class="l-group">
                <label>院区</label>
                <div class="l-group-attr">
                    <input type="text" value="" disabled>
                </div>
            </div>
            <div class="l-group">
                <label>住院科室</label>
                <div class="l-group-attr">
                    <input type="text" value="" disabled>
                </div>
            </div>
        </div>
</div>











<div class="l-card">
    <div class="l-card-title">订单信息</div>
    <div class="l-body">
        <div class="l-row">
            <div class="l-group">
                <label>订单总额</label>
                <div class="l-group-attr">
                    <input type="text" value="{{$data->money}}" disabled>
                </div>
            </div>
            <div class="l-group">
                <label>支付方式</label>
                <div class="l-group-attr">
                    <input type="text" value="{{$data->pay->pay_name}}" disabled>
                </div>
            </div>
            <div class="l-group">
                <label>卡内余额</label>
                <div class="l-group-attr">
                    <input type="text" value="{{$data->balance}}" disabled>
                </div>
            </div>
        </div>

        <div class="l-row">
            <div class="l-group">
                <label>订单状态</label>
                <div class="l-group-attr">
                    <input type="text" value="{{$data->status==1?'已支付':'未支付'}}" disabled>
                </div>
            </div>
            <div class="l-group">
                <label>订单编号</label>
                <div class="l-group-attr">
                    <input type="text" value="{{$data->order_id}}" disabled>
                </div>
            </div>
            <div class="l-group">
                <label>订单时间</label>
                <div class="l-group-attr">
                    <input type="text" value="{{$data->created_at}}" disabled>
                </div>
            </div>
        </div>
        <div class="l-row">
            <div class="l-group">
                <label>订单来源</label>
                <div class="l-group-attr">
                    <input type="text" value="{{$data->source->source_name}}" disabled>
                </div>
            </div>
            <div class="l-group">
                <label>业务类型</label>
                <div class="l-group-attr">
                    <input type="text" value="{{$data->type->bussiness_name}}" disabled>
                </div>
            </div>
        </div>

    </div>

    <div class="l-row">
        <div class="l-group" style="margin-left: 25px;">
            <label>订单备注</label>
            <div class="l-group-attr">
                <input type="text" value="" placeholder="请输入内容">
            </div>
        </div>

    </div>

</div>
</div>
</body>
</html>
</body>
</html>
